package assignment3;

public class Triangle {
	public Triangle(double a, double b, double c) {
		this.a = a;
		this.b = b;
		this.c = c;
	}
	public double GetA() {
		return a;
	}
	public double GetB() {
		return b;
	}
	public double GetC() {
		return c;
	}
	public void Show() {
		System.out.print("三边长为"+a+", "+b+", "+c+", "+"的三角形");
	}
	private double a;
	private double b;
	private double c;
}